package com.db;

import java.util.HashMap;

/**
 * 字符串装载类
 * @author Administrator
 *
 */
public class DBType  {
	/**
	 * @param name
	 * @param value
	 * @return
	 */
	public static HashMap<String, String> typesNameMap = new HashMap();
	public static HashMap<String, String> setTypeMethodNameMap = new HashMap();
	static {
		setTypeMethodNameMap.put("NUMBER", "setInt");
		setTypeMethodNameMap.put("NVARCHAR2", "setString");
		setTypeMethodNameMap.put("NVARCHAR", "setString");
		setTypeMethodNameMap.put("VARCHAR", "setString");
		setTypeMethodNameMap.put("VARCHAR2", "setString");
		setTypeMethodNameMap.put("CHAR", "setString");
		setTypeMethodNameMap.put("DATE", "setDate");
		
		
		setTypeMethodNameMap.put("String", "setString");
		setTypeMethodNameMap.put("String", "setString");
		setTypeMethodNameMap.put("Integer", "setInteger");
		setTypeMethodNameMap.put("Date", "setDate");
		setTypeMethodNameMap.put("Datetime", "setDate");
		
		
		
	}


}
